<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>05-循环</title>
</head>
<body>
<script>
  var i = 0;
  while (i < 10) {
    i ++
<!--    if (i == 3) {-->
<!--      // continue-->
<!--      break-->
<!--    }-->
    console.log("好饿啊", i)
  }
</script>
<script>
  var j = 0;
  while (j !== true) {
    j ++
      if (j == 4) {
         break
      }
    console.log("好饿啊", j)
  }
</script>
</body>
</html>